package com.hethongviet.preventingmachine.models;

public class Sensor
{
	private long idDB = -1;

	private int index = 0;
	private String name = "sensor_name";

	public Sensor()
	{
	}

	public Sensor(String name, int index)
	{
		this.setIndex(index);
		this.setName(name);
	}

	public long getIdDB()
	{
		return idDB;
	}

	public void setIdDB(long idDB)
	{
		this.idDB = idDB;
	}

	public int getIndex()
	{
		return index;
	}

	public void setIndex(int index)
	{
		this.index = index;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}
}
